package vo
{
	[Bindable]
	public class QueryVO
	{
		public var name:String;
		public var operation:String;
		public var value:String;
		public var anotherValue:String;
		public var unit:String;
		public var isQueryFlag:Boolean=false;
		
		public function resetByName(nameStr:String=''):void
		{
			name=nameStr;
			operation='';
			value='';
			anotherValue='';
			unit='';
			isQueryFlag=false;
		}
		
		public function resetByOperation(operationStr:String=''):void
		{
			operation=operationStr;
			value='';
			anotherValue='';
			unit='';
			isQueryFlag=false;
		}
		
		public function resetByValue(valueStr:String='',unit:String=''):void
		{
			value=valueStr;
			unit=unit;
			isQueryFlag=true;
		}
	}
}